﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ULog.Dto
{
    public class BizLogRequest
    {
        /// <summary>
        /// 系统ID
        /// </summary>
        public int PlatformID { get; set; }
        /// <summary>
        /// 模块名称
        /// </summary>
        public string ModuleName
        {
            get;
            set;
        }
        /// <summary>
        /// 模块内方法名称
        /// </summary>
        public string MethodName
        {
            get;
            set;
        }
        /// <summary>
        /// 操作对象ID
        /// </summary>
        public string TargetID
        {
            get;
            set;
        }
        /// <summary>
        /// 操作内容
        /// </summary>
        public String OpContent
        {
            get;
            set;
        }
        /// <summary>
        /// 更新数据前旧值
        /// </summary>
        public string OldDataValue { get; set; }
        /// <summary>
        /// 更新数据前旧值
        /// </summary>
        public string NewDataValue { get; set; }

        /// <summary>
        /// 操作用户ID
        /// </summary>
        public long OpUserID { get; set; }
        /// <summary>
        /// 操作人员名称
        /// </summary>
        public string OpUserName { get; set; }
        /// <summary>
        /// 服务器名称
        /// </summary>
        public string ServerName { get; set; }
        /// <summary>
        /// 客户端IP地址
        /// </summary>
        public string ClientIP { get; set; }

        /// <summary>
        /// 请求页面地址
        /// </summary>
        public string PageUrl { get; set; }

        /// <summary>
        /// 数据所属机构
        /// </summary>
        public int OrganizationID
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDateTime { get; set; }
    }
}
